package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
    Result insertDishWithFlavor(DishDTO dishDTO);

    Result<PageResult> dishPageQuery(DishPageQueryDTO dishPageQueryDTO);

    Result deleteDish(String ids);

    Result updateStatus(Integer status, Long id);

    Result<DishVO> showDish(Long id);

    Result updateDish(DishDTO dishDTO);

    Result<List<Dish>> dishList(Long categoryId);

    Result<List<DishVO>> list(Long categoryId);
}
